package overriding;

public class OverridingAccessModifiers {

	public static class A {
		protected float method() {
			return 0.4F;
		}
		
		@Override
		public String toString() {
			return "YES";
		}
	}
	
	static class B extends A {
		protected float method() {
			return 5.4F;
		}
	}
	
}
